package cn.edu.gzgs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 花名册导入审计日志实体
 * 记录导入人、文件、成功/失败条数等信息，便于后期审计
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("roster_import_log")
public class RosterImportLog {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String filename;

    private Integer totalRows;

    private Integer successRows;

    private Integer failureRows;

    private String remarks;

    private LocalDateTime importedTime;
}
